package com.waimai.mobile.api.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * Restaurant entity. @author MyEclipse Persistence Tools
 */

public class Restaurant implements java.io.Serializable {

	// Fields

	private Integer restaurantId;
	private String restaurantName;
	private String password;
	private String address;
	private String phone;
	private String photo;
	private Integer sendPrice;
	private Integer deliveryPrice;
	private Integer deliveryTimeArg;
	private Integer deliveryRange;
	private Float starLevelArg;
	private String businessTime;
	private String notice;
	private Integer monthSales;
	private Boolean rest;
	private Date lastUpdateTime;
	
	// Constructors

	/** default constructor */
	public Restaurant() {
	}

	// Property accessors

	public Restaurant(Integer restaurantId) {
		this.restaurantId = restaurantId;
	}

	public Integer getRestaurantId() {
		return restaurantId;
	}

	public void setRestaurantId(Integer restaurantId) {
		this.restaurantId = restaurantId;
	}

	public String getRestaurantName() {
		return this.restaurantName;
	}

	public void setRestaurantName(String restaurantName) {
		this.restaurantName = restaurantName;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPhoto() {
		return this.photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public Integer getSendPrice() {
		return this.sendPrice;
	}

	public void setSendPrice(Integer sendPrice) {
		this.sendPrice = sendPrice;
	}

	public Integer getDeliveryPrice() {
		return this.deliveryPrice;
	}

	public void setDeliveryPrice(Integer deliveryPrice) {
		this.deliveryPrice = deliveryPrice;
	}

	public Integer getDeliveryTimeArg() {
		return this.deliveryTimeArg;
	}

	public void setDeliveryTimeArg(Integer deliveryTimeArg) {
		this.deliveryTimeArg = deliveryTimeArg;
	}

	public Integer getDeliveryRange() {
		return this.deliveryRange;
	}

	public void setDeliveryRange(Integer deliveryRange) {
		this.deliveryRange = deliveryRange;
	}

	public Float getStarLevelArg() {
		return this.starLevelArg;
	}

	public void setStarLevelArg(Float starLevelArg) {
		this.starLevelArg = starLevelArg;
	}

	public String getBusinessTime() {
		return this.businessTime;
	}

	public void setBusinessTime(String businessTime) {
		this.businessTime = businessTime;
	}

	public String getNotice() {
		return this.notice;
	}

	public void setNotice(String notice) {
		this.notice = notice;
	}

	public Integer getMonthSales() {
		return monthSales;
	}

	public void setMonthSales(Integer monthSales) {
		this.monthSales = monthSales;
	}

	public Boolean getRest() {
		return rest;
	}

	public void setRest(Boolean rest) {
		this.rest = rest;
	}

	
	
	public Date getLastUpdateTime() {
		return lastUpdateTime;
	}

	public void setLastUpdateTime(Date lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	
	
	@Override
	public String toString() {
		return "Restaurant [restaurantId=" + restaurantId + ", restaurantName="
				+ restaurantName + ", password=" + password + ", address="
				+ address + ", phone=" + phone + ", photo=" + photo
				+ ", sendPrice=" + sendPrice + ", deliveryPrice="
				+ deliveryPrice + ", deliveryTimeArg=" + deliveryTimeArg
				+ ", deliveryRange=" + deliveryRange + ", starLevelArg="
				+ starLevelArg + ", businessTime=" + businessTime + ", notice="
				+ notice + ", monthSales=" + monthSales + ", rest=" + rest
				+ ", lastUpdateTime=" + lastUpdateTime + "]";
	}
}